
package com.be.beadmin.product.service;

import com.be.beadmin.common.entity.PageEntity;
import com.be.beadmin.product.dto.input.WrokingHoursOverViewDto;
import com.be.beadmin.product.dto.output.SumTimingAndCurStartTime;
import com.be.beadmin.product.dto.output.WrokingHoursOverViewEx;
import org.springframework.data.domain.Page;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @description 服务接口
* @author zjm
* @date 2023-04-24
**/
public interface WrokingHoursOverViewService {

    /**
    * 分页的查询接口
    * @param pageEntity
    * @return
    */
    Page<WrokingHoursOverViewEx> getWrokingHoursOverViewByPage(PageEntity pageEntity);

    /**
    * @param wrokingHoursOverViewDto
    */
    void addWrokingHoursOverView(WrokingHoursOverViewDto wrokingHoursOverViewDto);

    /**
    * @param wrokingHoursOverViewDto
    */
    void updateWrokingHoursOverView(WrokingHoursOverViewDto wrokingHoursOverViewDto);

    /**
    * @param id
    */
    void delWrokingHoursOverView(String id);

    /**
    * 删除多个角色
    * @param ids
    */
    void delWrokingHoursOverViews (List<String> ids);

    SumTimingAndCurStartTime getSumTimingAndCurStartTime(HttpServletRequest request, String processId);
}